package org.example.salesystem.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ResultBody {
    private Integer status;
    private String message;
    private Object data;
    private Integer count;
    public ResultBody(Integer status) {
        this.status = status;
    }
    public ResultBody(Integer status,String message) {
        this.status = status;
        this.message = message;
    }
    public ResultBody(Integer status, String message, Object data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }
}